package com.woniuxy.health.report.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.health.commons.entity.ReportResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
    用于报告结果详情
 */
@Repository
@Mapper
public interface ReportResultMapper extends BaseMapper<ReportResult> {

    @Select("select * from t_report_result where report_id = #{report_id}")
//    List<ReportResult> findReportResultByReportId(int report_id);
    ReportResult findReportResultByReportId(int report_id);

}
